package com.qc.qcgl807;
  //汽车类     抽象类父类 
public abstract class QiChe {
     //属性    品牌    车牌    日单价  
	private String  pinPai;
	private String  chePai;
	private int riJia;
		
	 public QiChe() {	
	}
	public QiChe(String pinPai, String chePai, int riJia) {
		
		this.pinPai = pinPai;
		this.chePai = chePai;
		this.riJia = riJia;
	}
	public String getPinPai() {
		return pinPai;
	}
	public void setPinPai(String pinPai) {
		this.pinPai = pinPai;
	}
	public String getChePai() {
		return chePai;
	}
	public void setChePai(String chePai) {
		this.chePai = chePai;
	}
	public int getRiJia() {
		return riJia;
	}
	public void setRiJia(int riJia) {
		this.riJia = riJia;
	}
	// 方法    求租金
	 public abstract double tota(int day);   //求租金 需要天数 所哟要传天数参数
}
